/*********************************************************************************
 *      Copyright:  (C) 2025 LingYun<lingyun@email.com>
 *                  All rights reserved.
 *
 *       Filename:  print_usage.c
 *    Description:  This file 
 *                 
 *        Version:  1.0.0(12/03/25)
 *         Author:  LingYun <lingyun@email.com>
 *      ChangeLog:  1, Release initial version on "12/03/25 17:47:04"
 *                 
 ********************************************************************************/
#include "usage_client.h"

void print_usage(char *progname)
{
	log_warn("%s usage: \n",progname);
	log_warn("-i[ip] Monitor the IP address of the server\n");
	log_warn("-p[port] socket server port address\n");
	log_warn("-t[time] How often are they monitored\n");
	log_warn("-b(--background): Enter the daemon\n");
	log_warn("-d(--debug): output information to stdout\n");
	log_warn("-s(--sn): device sequence\n");
	log_warn("-v(--version): print the program version\n");
	log_warn("-P(--Pack):Data packing format, with options json and tlv available\n");
	log_warn("-S(--Stop):Stop background progname\n");
	log_warn("-h[help] display this help information\n");
	
	dbg_print("%s usage: \n",progname);
	dbg_print("-i[ip] Monitor the IP address of the server\n");
	dbg_print("-p[port] socket server port address\n");
	dbg_print("-t[time] How often are they monitored\n");
	dbg_print("-b(--background): Enter the daemon\n");
	dbg_print("-d(--debug): output information to stdout\n");
	dbg_print("-s(--sn): device sequence\n");
	dbg_print("-v(--version): print the program version\n");
	dbg_print("-P(--Pack):Data packing format, with options json and tlv           available\n");
	dbg_print("-S(--Stop):Stop background progname\n");
	dbg_print("-h[help] display this help information\n");

	return ;
}
